public class Coordonnee {
	final int x;
	final int y;

	public Coordonnee(int x, int y) {
		this.x = x;
		this.y = y;
	}
	
	public Coordonnee coordPrologToJava() {
		return new Coordonnee(this.x + 4, -this.y + 4 );
	}
	
	public Coordonnee coordJavaToProlog() {
		return new Coordonnee(this.x - 4, -this.y + 4);
	}
	
	public String toString() {
		return "(" + this.x + ";" + this.y + ")";
	}
	
}
